<html th:fragment="lefter" xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

	<script type="text/javascript" src="js/left.js"></script>
	<link rel="stylesheet" type="text/css" href="css/left.css"/>
	<title sec:authentication="name"></title>
	<!-- 侧边菜单栏 -->
	<div id="wrap">
	<div id="side">
		<ul class="nav">
			<li class="module-1 item-manager">
				<span class="big_class">系统设置</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-signal"></span><span>&nbsp;&nbsp;<a href="javascript:runUserBaseInfo()">基本信息</a></span></li>
						<li><span class="glyphicon glyphicon-stats"></span><span>&nbsp;&nbsp;<a href="javascript:runChangePassword()">修改密码</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAnyAuthority('agent')">
				<span class="big_class">代理系统</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:add_ownAssociator()">添加所属客户</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:ownAssociator_manager()">客户管理</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:profit_Details()">收益记录</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAnyAuthority('route')">
				<span class="big_class">路线管理</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:addRoute()">添加路线</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:routeIn()">路线管理</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAnyAuthority('activity')">
				<span class="big_class">活动管理</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:addActivity()">添加活动</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:activityManage()">活动管理</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAnyAuthority('mall')">
				<span class="big_class">商城系统</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:activityUp()">活动发布</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:activityDown()">活动下架</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:orderMange()">订单查询</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:messageManage()">消息管理</a></span></li>
						<!--<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:spread()">推广</a></span></li>-->
					</ul>
				</div>
			</li>
			<li class="module-1"  sec:authorize="hasAnyAuthority('role','menu')">
				<span class="big_class" >权限管理</span>
				<div class="module-2">
					<ul class="nav">
						<li ><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:run_addUserManeger()">用户角色管理</a></span></li>
						<li  ><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:roleManage()">角色管理</a></span></li>
						<li ><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:menuManage()">资源管理</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAuthority('user')">
				<span class="big_class">用户管理</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-edit"></span><span>&nbsp;&nbsp;<a href="javascript:run_addUser()">增加用户</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span>&nbsp;&nbsp;<a href="javascript:runOperaUser()">管理用户</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span>&nbsp;&nbsp;<a href="javascript:runUserLog()">用户登录流水</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAuthority('associator')">
				<span class="big_class">客户管理</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-edit"></span><span>&nbsp;&nbsp;<a href="javascript:add_associator()">增加客户</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span>&nbsp;&nbsp;<a href="javascript:associator_manager(	)">管理客户</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAuthority('count')">
				<span class="big_class" >业务统计</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:assciatorCount()">客户统计</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:activityCount()">活动统计</a></span></li>
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:financeCount()">财务统计</a></span></li>
					</ul>
				</div>
			</li>
			<li class="module-1" sec:authorize="hasAuthority('spider')">
				<span class="big_class" >推荐系统</span>
				<div class="module-2">
					<ul class="nav">
						<li><span class="glyphicon glyphicon-eye-open"></span><span><a href="javascript:recommender_spider()">爬虫信息</a></span></li>
					</ul>
				</div>
			</li>
		</ul>
	</div>
	</div>
</html>